﻿<Window 
    x:Class="Okazuki.BehaviorSupport.Design.Commons.BehaviorSelectWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    mc:Ignorable="d" 
    Title="Select Behavior" 
    Height="393" 
    Width="304" 
    ResizeMode="CanResize" 
    WindowStartupLocation="CenterScreen">
    <Window.Resources>
        <DataTemplate x:Key="typeTemplate">
            <StackPanel Orientation="Horizontal" ToolTip="{Binding FullName}">
                <TextBlock Text="{Binding Name}" />
            </StackPanel>
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <TextBlock Margin="12,12,12,0" Text="Select Behavior" VerticalAlignment="Top" />
        <ListBox Height="275" HorizontalAlignment="Left" Margin="12,36,0,0" Name="listBoxBehaviors" VerticalAlignment="Top" Width="258" ItemTemplate="{StaticResource typeTemplate}"/>
        <Button Content="OK" Height="23" HorizontalAlignment="Left" Margin="114,0,0,12" VerticalAlignment="Bottom" Width="75" IsDefault="True" Click="buttonOk_Click" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="195,0,0,12" VerticalAlignment="Bottom" Width="75" IsCancel="True" Click="buttonCancel_Click" />
    </Grid>
</Window>
